from django.urls import path
from . import views

app_name = 'points'

urlpatterns = [
    path('', views.index, name='index'),  # 积分首页/积分商城
    path('history/', views.history, name='history'),  # 积分明细
    path('exchange/<int:reward_id>/', views.exchange, name='exchange'),  # 积分兑换
    path('exchanges/', views.exchange_records, name='exchanges'),  # 兑换记录
]
